package com.cmcc.cmii.cmiiservicemanagement.config;


import com.cmcc.cmii.cmiiservicemanagement.model.ServiceDefinition;
import lombok.Data;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Thanks
 */
@Configuration
@ConfigurationProperties(prefix = "heterogeneous")
@Data
@ToString
public class ServiceProperties {

    private List<ServiceDefinition> services = new ArrayList<>();

}
